package com.lebang.mapper;

import com.lebang.entity.LbbApp;
import com.lebang.example.LbbAppExample;
import com.lebang.model.vo.buss.AppSearchVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface LbbAppMapper {
    long countByExample(LbbAppExample example);

    int deleteByExample(LbbAppExample example);

    int deleteByPrimaryKey(Long id);

    int insert(LbbApp record);

    int insertSelective(LbbApp record);

    List<LbbApp> selectByExample(LbbAppExample example);

    LbbApp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") LbbApp record, @Param("example") LbbAppExample example);

    int updateByExample(@Param("record") LbbApp record, @Param("example") LbbAppExample example);

    int updateByPrimaryKeySelective(LbbApp record);

    int updateByPrimaryKey(LbbApp record);

    Integer total(@Param("vo") AppSearchVo vo);

    List<LbbApp> pagging(@Param("vo") AppSearchVo vo);


    int selectMemberClockInByMemberId(String userid);
}